Mule : Embedding Mule in JBI
This page last changed on Sep 08, 2005 by rossmason.
Mule provides a set of JBI components that allow Mule Endpoints (transports), components and transformers to be used in any JBI container. EndpointsEndpoints are used to send or receive data via a Mule supported transports such as Jms, Jdbc, Http, Soap, Xmpp, Ftp, Ejb, Rmi, Quartz, tcp, udp, and more. There are 2 JBI components for using Mule endpoints:
MuleReceiverThe component has a few properties that must be set. The most obvious one is the endpoint on which it will receive events. This endpoint is a Mule endpoint and is independent of the JBI container being used. The other required property is the name of the target service that this component will foward the event to.
MuleDispatcherAgain the most obvious one is the endpoint on which it will dispatch events. This endpoint is a Mule endpoint and is independent of the JBI container being used.
Components//Todo TransformersThe Mule transformer component allows any Mule transformer to run inside JBI. To configure it you must add an instance of the org.mule.providers.jbi.components.TransformerComponent. This expects to have a Mule transformer instance set on it that will be invoked when the component receives the message. The way in which the transformer is set varies from the Jbi container you are using. See Mule JBI Examples for details. |
Document generated by Confluence on Nov 27, 2006 10:27 |